package com.dhecp.core.utils;

public final class BidUtil {
	
	/**
	 * 将数值转成4位字符串
	 * @param num 数值
	 * @return
	 */
	public static String parseIntToFourLen(Integer num) {
		if (num < 10) {
			return "000" + num;
		} else if (num < 100) {
			return "00" + num;
		} else if (num < 1000) {
			return "0" + num;
		} else {
			return "" + num;
		}
	}
}
